﻿@page "/RazorPage/VehicleMaintenance/EmailTemplate/{formid:int?}"
@model RndMaterialDisposalService.Pages.EmailTemplates.VehicleMaintenance.IndexModel

@{
    Layout = "~/Pages/Shared/_EmailLayout.cshtml";
}

<div style="background-color: #B8B8B8; color: black; font-size: 11pt; font-weight: bold;">
    <div style="height: 3px; font-size: 3px; line-height: 1">&nbsp;</div>
    <p class="pfs-11">申请信息</p>
    <div style="height: 3px; font-size: 3px; line-height: 1">&nbsp;</div>
</div>
<table style="width: 100%; border-spacing: 0; border-collapse: collapse; font-family: 宋体; font-size: 10pt;">
    <tr>
        <td style="font-weight: Bold;width: 20%;">车型:</td>
        <td style="width: 30%;">@Model.FormData?.CarType</td>
        <td style="font-weight: Bold;width: 20%;">车号:</td>
        <td style="width: 30%;">@Model.FormData?.CarNumber</td>

    </tr>
    <tr>
        <td style="font-weight: Bold;width: 20%;">驾驶员:</td>
        <td style="width: 30%;">@Model.FormData?.DriverName</td>
        <td style="font-weight: Bold;width: 20%;">部门:</td>
        <td style="width: 30%;">@Model.FormData?.DeptName</td>
    </tr>
    <tr>
        <td style="font-weight: Bold;width: 20%;">部门编码:</td>
        <td style="width: 30%;">@Model.FormData?.DeptCode</td>
        <td style="font-weight: Bold;width: 20%;">申请日期:</td>
        <td style="width: 30%;">@Model.FormData?.ApplicantDate?.ToString("yyyy-MM-dd")</td>
    </tr>
    <tr>
        <td style="font-weight: Bold;width: 20%;">车辆现行公里数:</td>
        <td style="width: 30%;">@Model.FormData?.CurrentKM</td>
        <td style="font-weight: Bold;width: 20%;">上次保养公里数:</td>
        <td style="width: 30%;">@Model.FormData?.LastMaintainKM</td>

    </tr>
    <tr>
        <td style="font-weight: Bold;width: 20%;">申请人:</td>
        <td style="width: 30%;">@Model.FormData?.Applicant</td>
        <td style="font-weight: Bold;width: 20%;">部门审核人:</td>
        <td style="width: 30%;">@Model.FormData?.DeptLeader</td>
    </tr>
    <tr>
        <td style="font-weight: Bold;width: 20%;">发动机三清:</td>
        <td colspan="3">@string.Join(";",Model.FormData?.CarEngineSanqing??new List<string>())</td>
    </tr>
        <tr>
        <td style="font-weight: Bold;width: 20%;">做四轮保养:</td>
        <td colspan="3">@string.Join(";",Model.FormData?.CarMaintain??new List<string>())</td>
    </tr>
    <tr>
        <td style="font-weight: Bold;width: 20%;">报修项目和问题:</td>
        <td colspan="3">@Model.FormData?.Remark</td>
    </tr>
    <tr>
        <td style="font-weight: Bold;width: 20%;">修费用预计:</td>
        <td style="width: 30%;">@Model.FormData?.UpkeepCosts</td>
        <td style="font-weight: Bold;width: 20%;">维修供应商:</td>
        <td style="width: 30%;">@Model.FormData?.SupplierName</td>
    </tr>
</table>